import { useParams, useLocation } from "react-router-dom";

export default function Lazy() {
  const params = useParams();
  const location = useLocation();
  console.log(params, location);

  return (
    <>
      <div>这是news的子页面</div>
    </>
  );
}
